import request from "@/service/request";

export const getEchartData = (data={}) => {
    return request({
        method: 'post',
        url: '/plan/getSchoolLine',
        data
    });
};
export const getDetailData = (data = {})=>{
    return request({
        method: 'post',
        url: '/plan/get',
        data
    })
}
export const querySchoolName = (queryStr) => {
    return request({
        method: 'post',
        url: `/plan/querySchoolName?name=${queryStr}`
    })
}
export const getCommentInfo = () => {
    return request({
        method: 'post',
        url: `/comment/get`
    })
}